/*
 *  Copyright 2008 Mark Ashworth <javameme@gmail.com>.
 *
 *  Licensed under the GNU General Public License v3 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.gnu.org/licenses/gpl-3.0.html
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */
package metaphor.service;

/**
 * Abstract application manager
 * @author Mark Ashworth <javameme@gmail.com>
 * @version 1.0.0
 * @since 1.0.0
 */
public abstract class AbstractApplicationManager implements ApplicationManager {

    private String daoName = BeanNames.DAO;
    private Class daoClass = Object.class;

    private String securityManagerName = BeanNames.SECURITY_MANAGER;
    private Class securityManagerClass = SecurityManager.class;

    public void setDaoName(String name) {
        this.daoName = name;
    }

    public String getDaoName() {
        return daoName;
    }

    public void setDaoClass(Class beanClass) {
        this.daoClass = beanClass;
    }

    public Class getDaoClass() {
        return daoClass;
    }

    public String getSecurityManagerName() {
        return securityManagerName;
    }

    public void setSecurityManagerName(String securityManagerName) {
        this.securityManagerName = securityManagerName;
    }

    public Class getSecurityManagerClass() {
        return securityManagerClass;
    }

    public void setSecurityManagerClass(Class securityManagerClass) {
        this.securityManagerClass = securityManagerClass;
    }
}
